package com.stadium.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import com.stadium.bean.MatchToEquipment;
import com.stadium.bean.MatchToPlace;

public interface MatchToPlaceRepository extends JpaRepository<MatchToPlace, Integer>{

	@Query("SELECT u.placeOrderId FROM MatchToPlace u where u.matchId=?1")
	List<Integer> findByMatchId(Integer id);


}
